<div class="introd_top introd_top_bg1">
    <div class="intopimg"><img src="<?php if(!empty($oUser['bgimg'])) echo _get_image_url($oUser['bgimg']);?>" /></div>
    <div class="bottom_back"></div>
    <div class="intcon">
        <div class="fl col_sub">
            <div class="cs_avatar"><img src="<?=_get_userlogo_url($oUser['userlogo']);?>"/></div>
            <div class="icon_head_portrait"><img title="<?php if ($oUser['insid']&&$ins_user&&($ins_user['com_short']||$ins_user['nickname'])) echo $ins_user['com_short']?$ins_user['com_short']:$ins_user['nickname']?>" src="<?php echo _get_cfg_path('images')?><?php if (!empty($oCert) && $oCert['status']==1) echo "icon_v";else echo "icon_v_no"?>.png"></div>
            <!-- <div class="cs_popul"><strong><?=empty($oUser['visitnum'])?0:$oUser['visitnum'];?></strong>人气</div> -->
        </div>
        <div class="fl info_wrap">
        	<div class="clearfix name_info_titile">
            	<div class="namebox fl">
            		<div class="fl nick_name_personal"><?=$oUser['nickname']?></div>
            		<div class="fl sex_personal"><?php if($oUser['sex']):?><img src="<?php echo _get_cfg_path('images')?><?php if($oUser['sex']) echo $oUser['sex']==1?'male':'female';?>.png"><?php endif;?></div>
            		<?php if ($oUser['city']):?><div class="fl position_personal"><img src="<?php echo _get_cfg_path('images')?>position.png"></div><?php endif;?>
            		<div class="fl sex_personal"><?=$oUser['city']?></div>
            	</div>
                
                <?php
                // 认证后显示图标
                if(!empty($oCert)): 
                	if(($oUser['usertype'] == 1) && empty($oUser['insid'])):
                ?>
<!--             	<div class="tips piccon fl"><a href="javascript:void(0);" rel="模特" class="preview tips_a1"></a></div> -->
                <?php elseif (($oUser['usertype']) && !empty($oUser['insid'])) :?>
<!--                 <div class="tips piccon fl"><a href="javascript:" rel="魔步网签约经纪公司" class="preview tips_a2"></a></div> -->
            	<?php //elseif($oUser['usertype'] == 2):?>
            	<!--<div class="tips piccon fl"><a href="javascript:" rel="魔步网签约经纪公司" class="preview tips_a2"></a></div>-->
                <?php // elseif($oUser['usertype'] == 3):?>
                <!--<div class="tips piccon fl"><a href="javascript:" rel="企业" class="preview tips_a3"></a></div>-->
                <?php endif?>
                <?php endif?>
            </div>
            <div class="user_role">
            	<?=$userRole?>
            </div>
            <div class="namebox function_icon" style="margin-top:0;">
            	<?php if ($oUser["userid"] != $this->loginID):?>
            	<div class="contact attention fl">
                    <?php if($oUser['concernstatus'] > 0):?>
                        <a href="javascript:void(0);" class="atte_cur">
                        	已关注
                        </a>
                    <?php else:?>
                        <a href="javascript:void(0);" class="atte_cur XT-fans">
                        	+关注
                        </a>
                    <?php endif;?>
                </div>
	                <?php if(!empty($oUser['qq']) && $oUser["userid"] != $this->loginID):?>
	                <!-- QQ联系我 -->
	            	<div class="contact fl">
	            		<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?=$oUser['qq']?>&site=qq&menu=yes">联系<?php if($oUser['sex']) echo $oUser['sex']==1?'他':'她';else echo 'ta';?></a>
	            	</div>
	            	<?php endif;?>
            	<?php endif;?>
            	
            	<!-- 菜单功能按钮-->
            	<?php if ($oUser["userid"] != $this->loginID):?>
            	<div class="fl select_fun_icon">
            		<a href="javascript:void(0);" class="memu_but"><img src="<?php echo _get_cfg_path('images')?>select_fun.png" style="margin-top:1px;"/></a>
            		<ul class="memu_list">
            			<li>
            				<a href="/i/schedule/<?=$oUser['id']?>">预约档期</a>
            			</li>
            		</ul>
            	</div>
            	<?php endif;?>
            	<!-- <p><?php if($oUser['sex']) echo $oUser['sex']==1?'男':'女'?> &nbsp;&nbsp; <?=$oUser['city']?> &nbsp;&nbsp;</p> -->
            </div>
        </div>
        <div class="fr model_related_info">
        	<ul class="cs_number clearfix">
                <li><strong><?=empty($oUser['concernnum'])?0:$oUser['concernnum'];?></strong><span>关注</span></li>
                <li><strong><?=empty($oUser['fansnum'])?0:$oUser['fansnum'];?></strong> <span>粉丝</span></li>
                <li><strong><?=empty($oUser['be_ordernum'])?0:$oUser['be_ordernum'];?></strong> <span>拍片次数</span></li>
            </ul>
        </div>
    </div>
</div>

<div class="introd_title" id="introd_title">
    <ul class="clearfix">
        <li<?php if( strpos(strtolower(uri_string()),'i/works')>-1 || strpos(strtolower(uri_string()),'i/photo')>-1 ) echo ' class="iton"';?>><a href="/i/works/<?=$oUser['id']?>">TA的作品（<?=empty($oUser['photonum'])?0:$oUser['photonum'];?>）</a></li>
        <li<?php if( strpos(strtolower(uri_string()),'i/index')>-1 && strpos(strtolower(uri_string()),'i/index/activity')<=-1) echo ' class="iton"';?>><a href="/i/index/<?=$oUser['id']?>">个人信息</a></li>
        <?php if ($oUser['usertype'] == 6):?><li<?php if( strpos(strtolower(uri_string()),'i/index/activity')>-1 ) echo ' class="iton"';?>><a href="/i/index/activity/<?=$oUser['id']?>">通&nbsp;&nbsp;&nbsp;&nbsp;告（<?=empty($oUser['activity_num'])?0:$oUser['activity_num'];?>）</a></li><?php endif;?>
        <li<?php if( strpos(strtolower(uri_string()),'i/comment')>-1 ) echo ' class="iton"';?>><a href="/i/comment/<?=$oUser['id']?>">工作评价（<?=empty($oUser['be_commentnum'])?0:$oUser['be_commentnum'];?>） </a></li>
        <?php if ($oUser["userid"] != $this->loginID):?><li<?php if( strpos(strtolower(uri_string()),'i/schedule')>-1 ) echo ' class="iton"';?> id="schedule_index"><a href="/i/schedule/<?=$oUser['id']?>">预约档期</a></li><?php endif;?>
    </ul>
</div>
<input type="hidden" name="mid" id="mid" value="<?=_get_key_val( $oUser['id'] )?>">
